package com.gxa.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.order.dto.OrderTestDto;
import com.gxa.order.entity.ServiceOrder;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface ServiceOrderAppMapper extends BaseMapper<ServiceOrder> {
    Boolean updateOrderByUserProof(@Param("id") Long id, @Param("proofid") Long proofid, @Param("time") Date time);
    Boolean updateCommentId(@Param("id") Long id, @Param("commentid") Integer commentid, @Param("time") Date time);
    List<OrderTestDto> selectAllOrder();
}
